package router

import (
	"Cgo/front/controller"
	czhcontroller "Cgo/front/controller/CzhController"
	skcontroller "Cgo/front/controller/SkController"
	xyccontroller "Cgo/front/controller/XycController"

	"github.com/gin-gonic/gin"
)

func Init(r *gin.RouterGroup) {
	controller.UserController(r.Group("/user"))
	controller.RoomController(r.Group("/room"))
	controller.MsgController(r.Group("/msg"))
	czhcontroller.InitCzhController(r.Group("/czh"))
	// skcontroller.SkUserController(r.Group("/sk"))
	skcontroller.InitSkController(r.Group("/sk"))
	// xyccontroller.XycController(r.Group("/xyc"))
	xyccontroller.InitXycController(r.Group("/xyc"))
}
